<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="title">经费预算表</c:set>
<c:if test="${not empty param.title }"><c:set var="title">${param.title }</c:set></c:if>

<!-- <div class="t_bar2">
	试制设备费预算明细表
</div> -->

<table  id="tblorganization" cellpadding="0" class="t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<col width="5%" />
			<col width="20%" />
			<col width="10%" />
			<col width="30%" />
			<col width="20%" />
			<col width="15%" />
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center" >序号</th>
						<th class="TblHead" align="center" >完成单位名称</th>
						<th class="TblHead" align="center" >邮政编码</th>
						<th class="TblHead" align="center" >详细通信地址</th>
						<th class="TblHead" align="center" >隶属省部</th>
						<th class="TblHead" align="center" >单位属性</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/organizations/organization" var="organization">
						<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					
					<tr>
						<td align="center" nowrap="nowrap">&nbsp;
							<span   name="organizations/organization[${flag}${index}]@seq_no" ><x:out select="$organization/@seq_no"/></span>
						</td>
						<td align="left" nowrap="nowrap">&nbsp;
							<span   name="organizations/organization[${flag}${index}]/orgname" ><x:out select="$organization/orgname" /></span> 
						</td>
						<td align="center" nowrap>&nbsp;
							<span   name="organizations/organization[${flag}${index}]/zipcode" ><x:out select="$organization/zipcode" /></span> 
						</td>
						<td align="left" nowrap="nowrap">&nbsp;
							<span   name="organizations/organization[${flag}${index}]/address" ><x:out select="$organization/address" /></span> 
						</td>
						<td align="center" nowrap>&nbsp;
							<span   name="organizations/organization[${flag}${index}]/indepart" ><x:out select="$organization/indepart" /></span> 
						</td>
						<td align="center" nowrap>&nbsp;
							<span   name="organizations/organization[${flag}${index}]/orgtype_name" ><x:out select="$organization/orgtype_name" /></span> 
						</td>						
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
			</tbody>
	</table>

